package de.wepner.texteditor.command;

import java.awt.event.ActionEvent;

import de.wepner.texteditor.model.CommandMapping;


/**
 * <p>A <a href="http://en.wikipedia.org/wiki/Null_Object_pattern">null command</a>,
 * which does nothing when invoked.</p>
 * <p>This command is used by the {@link CommandMapping} everytime a not assigned
 * command is requested. It prevents {@link NullPointerException}s by unassigned
 * commands.</p>
 * 
 * @author Richard Wepner
 */
public class NullCommand extends Command {
    
    @Override
    public void actionPerformed(ActionEvent arg0) {
        
    }
}
